DrawAnnotations(GcGraphics,RectangleF,IList<AnnotationBase>,ViewState,RenderingCache,Boolean) Method
In This Topic
Draws specified annotations on a
GrapeCity.Documents.Drawing.GcGraphics.
Note that the specified annotations must belong to the current page.
Syntax
'Declaration
Public Overloads Sub DrawAnnotations( _
ByVal As GcGraphics, _
ByVal As System.Drawing.RectangleF, _
ByVal As System.Collections.Generic.IList(Of AnnotationBase), _
ByVal As ViewState, _
Optional ByVal As RenderingCache, _
Optional ByVal As System.Boolean _
)
public void DrawAnnotations(
GcGraphics ,
System.Drawing.RectangleF ,
System.Collections.Generic.IList<AnnotationBase> ,
ViewState ,
RenderingCache ,
System.bool
)
Parameters
- graphics
- The GrapeCity.Documents.Drawing.GcGraphics on which to draw the annotations.
- bounds
- The draw bounds.
- annotations
- The list of annotations to draw.
- viewState
- The GrapeCity.Documents.Pdf.Layers.ViewState object.
- renderingCache
- The RenderingCache object used to cache objects created during rendering.
- ignoreErrors
- Indicates whether to ignore errors in PDF content stream during rendering.
See Also